<template>
    <div>
        <h1>我是home路由</h1>
    </div>
</template>

<script setup lang="ts">
import { onMounted } from 'vue'
import useUserStore from '@/store/modules/user'

let userStore = useUserStore()
onMounted(async () => {
    await userStore.getUserInfo()
})
</script>

<style scoped></style>
